<!--
  @author duanzuocai
  @since 2018/12/13 13:21
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>新增或编辑模块权限</title>
</head>
<body>

<div class="layui-fluid">
    <div class="layui-card">
        <form method="post" action="" lay-filter="zmn-form" class="layui-form">
            <div class="layui-form">
                <input type="hidden" name="staffId" id="staffId" th:value="${staff.staffId}"/>
                <div class="layui-form-item layui-form-item-sm">&nbsp;</div>
                <div class="layui-form-item layui-form-item-sm">
                    <div class="layui-inline">
                        <label class="layui-form-label">请输入钉钉UserID</label>
                        <div class="layui-input-block">
                            <input type="text" name="dTalkId" th:value="${staff.dTalkId}" autocomplete="off"
                                   class="layui-input" maxlength="32"/>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-split">&nbsp;</div>
            <div class="layui-form-item layui-layout-admin">
                <div class="layui-input-block">
                    <div class="layui-footer" style="left: 0;">
                        <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit" th:if="${#authPermit.checkPermit('/mc/staff/updateWhiteList.action')}">提交</button>
                        <button class="layui-btn layui-btn-primary" id="cancle">取消</button>
                    </div>
                </div>
            </div>

        </form>
    </div>
</div>

<script type="text/javascript" th:inline="javascript">

    layui.config({
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        ding_talk_user_input: "/staff/dingtalk/ding.talk.user.input",
    }).use(['index', 'ding_talk_user_input']);
</script>
</body>
</html>